package com.zmj.sy.mom.srv.aps.bean.entity.third;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
@Comment("MES套料零件接收表")
@TableName("tb_third_mes_nest_part")
public class MesNestPart extends BaseEntity {

    @Comment("钢板号")
    private String plateCode;

    @Comment("切割编号/套料图号")
    private String nestId;

    @Comment("施工号")
    private String constructNo;

    @Comment("订单编号")
    private String workOrderCode;

    @Comment("推送到MES的包号")
    private String packageCode;

    @Comment("零件编号")
    private String partId;

    @Comment("零件名称")
    private String partName;

    @Comment("已套数量")
    private Integer quantity;

    @Comment("长度(mm)")
    private BigDecimal length;

    @Comment("厚度(mm)")
    private BigDecimal thickness;

    @Comment("宽度(mm)")
    private BigDecimal width;

    @Comment("面积")
    private BigDecimal area;

    @Comment("最小矩形面积")
    private BigDecimal rectangleArea;

    @Comment("单件零件净重")
    private BigDecimal netWeight;

    @Comment("零件图纸路径")
    private String pngUrl;

    @Comment("路径")
    private String path;

    @Comment("订单id")
    private Integer lineId;

}
